package top.yehot.cmmu.core.models.dto;

import lombok.Data;

/**
 * bootstrap.yaml 文件映射类
 * 
 * @author lquan
 * @date 2022年4月2日 下午4:48:05
 */
@Data
public class JBootstrapDTO {

	private BootstrapNacosDTO nacos;
	
	private BootstrapSpringDTO spring;
	
	@Data
	public class BootstrapNacosDTO {
		private String addr;
		private String namespace;
	}
	
	@Data
	public static class BootstrapSpringDTO {
		private BootstrapSpringApplicationDTO application;
	}
	
	@Data
	public static class BootstrapSpringApplicationDTO {
		private String name;
	}
}
